<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: SXLWTT
  Date: 2021/11/4
  Time: 16:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery-1.9.1.min.js"></script>
    <script src="/js/fileupload.js"></script>
    <link rel="stylesheet" href="/bootstrap-4.6.0-dist/css/bootstrap.min.css">
</head>
<body>
<h2>欢迎${user.uname}登录</h2>
<table class="table table-hover">
    <tr>
        <td>ID</td>
        <td>收货单号</td>
        <td>收货日期</td>
        <td>优先级</td>
        <td>状态</td>
        <td>递送条款</td>
        <td>制单人</td>
        <td>制单人工号</td>
        <td>制单时间</td>
        <td>备注</td>
        <td>客户</td>
        <td>附件图片</td>
        <td>发货单列表</td>
        <td>总重量</td>
        <td>操作</td>
    </tr>

    <c:forEach items="${listStu}" var="li">
        <tr>
            <td>${li.rid}</td>
            <td>${li.rodd}</td>
            <td>${li.rdate}</td>
            <td>${li.priorty}</td>
            <td>${li.flag}</td>
            <td>${li.terms}</td>
            <td>${li.zname}</td>
            <td>${li.zjob}</td>
            <td>${li.zdate}</td>
            <td>${li.remark}</td>
            <td>${li.kname}</td>
            <td>
                <img src="${li.pic}" width="80px">
            </td>
            <td>${li.clist}</td>
            <td>${li.total}</td>
            <td>

                <c:if test="${li.flag!='已取消'}">
                    <input type="button" value="取消" onclick="qx(${li.rid})">
                </c:if>


                <c:if test="${li.flag=='已取消'}">
                    已取消
                </c:if>
            </td>
        </tr>
    </c:forEach>

</table>
</body>
</html>
